ip dhcp-client authentication key-id

This command configures authentication of DHCPv4 messages between the client and server. This command configures the authentication key (for up to two key IDs) that the device (as a DHCP client) sends in DHCP Option 90 (Management) to a DHCP server for authentication.

Syntax

ip dhcp-client authentication key-id <ID> key-string|obscured-key-string <Key Name>

Command

Description

key-id

Pre-configured unique identifier shared with server.

key-string

The actual key itself used to validate and sign DHCP messages.

obscured-key-string

The actual key itself used to validate and sign DHCP messages, but obscured (not displayed) for security.

Command Mode

Privileged User

Example

This example configures authentication for DHCPv4 messages on VLAN 3.

(config-data)# interface vlan 3
(conf-if-VLAN 3)# ipv6 dhcp-client authentication key-id 3 obscured-key-string 8JKQkJybmw==
(conf-if-VLAN 3)# no shutdown
(conf-if-VLAN 3)# exit